import React, {Component} from 'react'

import Base from "./Base"
import DXDS from "./DXDS"
import SZP from "./SZP"
import ZDW from "./ZDW"
import EZHS from "./EZHS"
import KD from "./KD"
import LH from "./LH"

export default class HK6Body extends Component {
  constructor (props){
   super(props)
   this.state= {
   }
}
   render() {
    const {itemcode} = this.props
    //第一次是空
    switch(itemcode){
      case "DXDS":
      return <DXDS  {...this.props}/>

      case "SZP":
      return <SZP  {...this.props}/>

      case "EZDW":
      return <ZDW  {...this.props}/>
      
      case "SZDW":
      return <ZDW  {...this.props}/>

      case "EZZH":
      return <ZDW  {...this.props}/>

      case "SZZH":
      return <ZDW  {...this.props}/>

      case "EZHS":
      return <EZHS {...this.props} />

      case "KD":
      return <KD  {...this.props}/>

      case "LH":
      return <LH  {...this.props}/>

      default :
      return <Base {...this.props}></Base>
    }
   }
}